﻿Imports System.Text
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Input
Imports System.Windows.Media
Imports System.Windows.Media.Imaging
Imports System.Windows.Navigation
Imports System.Windows.Shapes

Namespace VsSpeakerCompanion.UI
    Partial Public Class SidebarLoginControl
        Inherits UserControl
        Friend Event Login As EventHandler(Of EventArgs)

        Friend Sub New()
            InitializeComponent()
        End Sub

        Private Sub Button_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
            OnLogin(New EventArgs)
        End Sub

        Protected Overridable Sub OnLogin(ByVal e As EventArgs)
            RaiseEvent Login(Me, e)
        End Sub
    End Class
End Namespace
